package com.kaifamiao.game;

import java.util.List;

public class Play {

    public static void main(String[] args) {
        WerewolfDealer w = new WerewolfDealer();
        List<String> list = w.deal();
        for (int i = 0; i < list.size(); i++) {
            String card = list.get(i);
            WereWolf identity = new Villager();
            switch (card) {
                case "狼人" -> identity = new Wolf();
                case "猎人" -> identity = new Hunter();
                case "预言家" -> identity = new Prophet();
                case "女巫" -> identity = new Witch();
                case "村民" -> identity = new Villager();
                case "守卫" -> identity = new Guard();
            }
            System.out.println("player" + (i + 1) + " : " +  identity.intro());
        }
    }
}
